@import "app.scss";

.dropdown {
  position: relative;
}

.dropdown-header {
  padding: r(5) r(17);
  border-radius: r(20);
  background-color: #fff;
  text-align: center;
  width: 30vw;
  overflow: hidden;
  white-space: nowrap; /* 防止文本换行 */
  text-overflow: ellipsis; /* 超出部分显示省略号 */
  // min-width: r(100);
  // border-bottom: 1rpx solid #f0f0f0;
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: #fff;
  border-radius: r(5);
  z-index: 2;
}

.dropdown-item {
  padding: r(5) r(17);
  border-bottom: 1rpx solid #f0f0f0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
